package com.qili.mapper.exam;

import com.qili.base.mapper.BaseMapper;
import com.qili.entity.exam.ExPaperQuestion;
import io.lettuce.core.dynamic.annotation.Param;

import java.util.List;

/**
 * @author zhangxiaopeng
 * @date 2021-05-08
 */
public interface ExPaperQuestionMapper extends BaseMapper<ExPaperQuestion, String> {
    int deleteByPaperId(String id);

    String selectPaperIdByPaperQuId(String id);

    List<String> selectPaperQuIdByPaperId(String paperId);

    void updateOrderNoByPaperQuId(String paperQuId, int i);

    int selectNumByPaperId(String paperId);
}
